// 点击事件埋点方法
export const postPointData = (data) => {
	console.log(data, '点击埋点')
	let el = uni.getStorageSync('tabEvent') || [];
	let obj = {
		...data,
		t: Math.floor(Date.now() / 1000).toString()
	};
	el.push(obj);
	uni.setStorageSync('tabEvent', el);
}
// 请求埋点方法
export const requestPointData = (datacode) => {
	let el = uni.getStorageSync('tabEvent') || [];
	let obj = datacode;
	el.push(obj);
	uni.setStorageSync('tabEvent', el);
}
